-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DOC] extend documentation for add_channels #13051
Conversation
Sorry, don't understand the CI errors, can someone clarify? |
It's difficult for me to review because the diff extends over dozens of files. I think it's because you opened the PR for merging into the |
yep, indeed, that seemed to have happened. I'll changed to merge into main? |
That would be great! I'm not sure if that works with an existing PR, though, or if you'd have to close this one and open a ne one |
I've reverted the changes, not sure how they ended up in the commit, probably because of merging 1.9 into it dev beofre. It was a bit messy though, let me know if you want me to open a new PR to have a cleaner commit history. |
Yep!
No, looking good right now! We squash and merge anyway. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks great, just a minor suggestion
Do you want to add a changelog entry? If you think this is not necessary let me know and I'll add the corresponding label here so that the test passes. |
Co-authored-by: Richard Höchenberger <[email protected]>
Not necessary! |
(should be |
for more information, see https://pre-commit.ci
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work, this clarifies how to use the function by a lot!
Thanks @skjerns! |
* upstream/main: [DOC] extend documentation for add_channels (mne-tools#13051) Add `combine_tfr` to API (mne-tools#13054) Add `combine_spectrum()` function and allow `grand_average()` to support `Spectrum` data (mne-tools#13058) BUG: Fix bug with helium anon (mne-tools#13056) [ENH] Add option to store and return TFR taper weights (mne-tools#12910)
* upstream/main: (57 commits) Allow lasso selection sensors in a plot_evoked_topo (mne-tools#12071) MAINT: Fix doc build (mne-tools#13076) BUG: Improve sklearn compliance (mne-tools#13065) [pre-commit.ci] pre-commit autoupdate (mne-tools#13073) MAINT: Add Numba to 3.13 test (mne-tools#13075) Bump autofix-ci/action from ff86a557419858bb967097bfc916833f5647fa8c to 551dded8c6cc8a1054039c8bc0b8b48c51dfc6ef in the actions group (mne-tools#13071) [BUG] Correct annotation onset for exportation to EDF and EEGLAB (mne-tools#12656) New feature for removing heart artifacts from EEG or ESG data using a Principal Component Analysis - Optimal Basis Sets (PCA-OBS) algorithm (mne-tools#13037) [BUG] Fix taper weighting in computation of TFR multitaper power (mne-tools#13067) [FIX] Reading an EDF with preload=False and mixed frequency (mne-tools#13069) Fix evoked topomap colorbars, closes mne-tools#13050 (mne-tools#13063) [pre-commit.ci] pre-commit autoupdate (mne-tools#13060) BUG: Fix bug with interval calculation (mne-tools#13062) [DOC] extend documentation for add_channels (mne-tools#13051) Add `combine_tfr` to API (mne-tools#13054) Add `combine_spectrum()` function and allow `grand_average()` to support `Spectrum` data (mne-tools#13058) BUG: Fix bug with helium anon (mne-tools#13056) [ENH] Add option to store and return TFR taper weights (mne-tools#12910) BUG: viz plot window's 'title' argument showed no effect. (mne-tools#12828) MAINT: Ensure limited set of tests are skipped (mne-tools#13053) ...
Fixes #11106.
What does this implement/fix?
I stumpled upon the documentation of
add_channels
and upon googleing saw that I was not the only one being confused on how to use the function.Therefore, some additions that will make it easier to understand.
TODO: Some of the links are not referenced correctly, I don't know how to reference the auto examples. Can someone fix this? :)